package com.bawei.empty

import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.bawei.base.RoutePath
import com.bawei.common.base.BaseActivity
import com.bawei.empty.databinding.ActivityEmptyBinding
import com.bawei.router.provider.LoginTokenService

@Route(path = RoutePath.PATH_EMPTY_PAGE)
class EmptyActivity : BaseActivity<ActivityEmptyBinding>() {

    @Autowired
    lateinit var loginTokenService: LoginTokenService

    override fun getLayoutId(): Int = R.layout.activity_empty

    override fun initView() {
        ARouter.getInstance().inject(this)
    }

    override fun onResume() {
        super.onResume()
        var token = loginTokenService.getLoginToken()
        showToastMsg(token)
    }


}